﻿using SimpleExcel.Core.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleExcel.Test.Model
{

    public enum EnumSex
    {
        男,
        女
    }

    public class PersonDto
    {
        [ExcelColumn("编号", 0)]
        public int Id { get; set; }

        [ExcelColumn("姓名",1)]
        public string Name { get; set; }

        [ExcelColumn("年龄",3)]
        public int Age { get; set; }

        [ExcelColumn("性别",2)]
        public EnumSex Sex { get; set; }

        [ExcelColumn("描述",4,width:52)]
        public string Desc { get; set; }
    }
}
